package com.zhkj.txg.utils

import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context

object ClipBoardUtils {
    fun copy(context: Context, content: String) {
        val clipboardManager = context.getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
        clipboardManager.setPrimaryClip(ClipData.newPlainText("label", content))
    }
}